package demo.extds;

public class Compare {
    static class A{

        int a = 1  ;

    }
    static {
        System.out.println("加载顺序");
        int a  ;
    }

    public void start(){
        A a = new A();
        System.out.println("===="+a.a);
        System.out.println("1-start");
        parse();
        doCompare();
    }


    public void parse(){
        System.out.println("1-parse");
    }


    public void doCompare(){
        System.out.println("1-doCompare");
    }

}
